cmake_minimum_required(VERSION 2.6)

include_directories ("${COLONY_SOURCE_DIR}")

pkg_search_module(SDL2 REQUIRED sdl2)
include_directories(${SDL2_INCLUDE_DIRS})

set(CPPN_SRCS node.cc cppn.cc visualize.cc)
add_library(cppn ${CPPN_SRCS})
target_link_libraries(cppn ann ${SDL2_LIBRARIES})

add_executable (cppn_test test.cc)
target_link_libraries(cppn_test cppn evolution)

